//*********************************************************************
// PP86.java   Author:20172330
//
// 对创建的Acount1和2进行测试。
//*********************************************************************

public class PP86
{
    public static void main(String[] args)
    {
       Account2 account = new Account2();

       account.AddAccount("Ted Murphy", 72354, 102.56);
       account.AddAccount("Jane Smith", 69713, 40.00);
       account.AddAccount("Edward Demsey", 93757, 759.32);

       // 存款
       System.out.println(account.setSave("Ted Murphy",72354,100));
       // 取款
       System.out.println(account.setDraw("Ted Murphy", 72354,1000));

       //  加利息
       account.addInterest();
       System.out.println("所有用户加息后：");
       System.out.println(account);
    }
}
